﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001265 RID: 4709
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitOfferingItemCsReq : IMessage<SubmitOfferingItemCsReq>, IMessage, IEquatable<SubmitOfferingItemCsReq>, IDeepCloneable<SubmitOfferingItemCsReq>, IBufferMessage
	{
		// Token: 0x17003BB9 RID: 15289
		// (get) Token: 0x0600D33D RID: 54077 RVA: 0x00239195 File Offset: 0x00237395
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitOfferingItemCsReq> Parser
		{
			get
			{
				return SubmitOfferingItemCsReq._parser;
			}
		}

		// Token: 0x17003BBA RID: 15290
		// (get) Token: 0x0600D33E RID: 54078 RVA: 0x0023919C File Offset: 0x0023739C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitOfferingItemCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BBB RID: 15291
		// (get) Token: 0x0600D33F RID: 54079 RVA: 0x002391AE File Offset: 0x002373AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitOfferingItemCsReq.Descriptor;
			}
		}

		// Token: 0x0600D340 RID: 54080 RVA: 0x002391B5 File Offset: 0x002373B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemCsReq()
		{
		}

		// Token: 0x0600D341 RID: 54081 RVA: 0x002391BD File Offset: 0x002373BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemCsReq(SubmitOfferingItemCsReq other) : this()
		{
			this.aJCHIGGPBAH_ = other.aJCHIGGPBAH_;
			this.monsterId_ = other.monsterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D342 RID: 54082 RVA: 0x002391EE File Offset: 0x002373EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemCsReq Clone()
		{
			return new SubmitOfferingItemCsReq(this);
		}

		// Token: 0x17003BBC RID: 15292
		// (get) Token: 0x0600D343 RID: 54083 RVA: 0x002391F6 File Offset: 0x002373F6
		// (set) Token: 0x0600D344 RID: 54084 RVA: 0x002391FE File Offset: 0x002373FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AJCHIGGPBAH
		{
			get
			{
				return this.aJCHIGGPBAH_;
			}
			set
			{
				this.aJCHIGGPBAH_ = value;
			}
		}

		// Token: 0x17003BBD RID: 15293
		// (get) Token: 0x0600D345 RID: 54085 RVA: 0x00239207 File Offset: 0x00237407
		// (set) Token: 0x0600D346 RID: 54086 RVA: 0x0023920F File Offset: 0x0023740F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x0600D347 RID: 54087 RVA: 0x00239218 File Offset: 0x00237418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitOfferingItemCsReq);
		}

		// Token: 0x0600D348 RID: 54088 RVA: 0x00239226 File Offset: 0x00237426
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitOfferingItemCsReq other)
		{
			return other != null && (other == this || (this.AJCHIGGPBAH == other.AJCHIGGPBAH && this.MonsterId == other.MonsterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D349 RID: 54089 RVA: 0x00239264 File Offset: 0x00237464
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AJCHIGGPBAH != 0U)
			{
				num ^= this.AJCHIGGPBAH.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D34A RID: 54090 RVA: 0x002392BC File Offset: 0x002374BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D34B RID: 54091 RVA: 0x002392C4 File Offset: 0x002374C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D34C RID: 54092 RVA: 0x002392D0 File Offset: 0x002374D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AJCHIGGPBAH != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.AJCHIGGPBAH);
			}
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D34D RID: 54093 RVA: 0x0023932C File Offset: 0x0023752C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AJCHIGGPBAH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AJCHIGGPBAH);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D34E RID: 54094 RVA: 0x00239384 File Offset: 0x00237584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitOfferingItemCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AJCHIGGPBAH != 0U)
			{
				this.AJCHIGGPBAH = other.AJCHIGGPBAH;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D34F RID: 54095 RVA: 0x002393D4 File Offset: 0x002375D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D350 RID: 54096 RVA: 0x002393E0 File Offset: 0x002375E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MonsterId = input.ReadUInt32();
					}
				}
				else
				{
					this.AJCHIGGPBAH = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054A3 RID: 21667
		private static readonly MessageParser<SubmitOfferingItemCsReq> _parser = new MessageParser<SubmitOfferingItemCsReq>(() => new SubmitOfferingItemCsReq());

		// Token: 0x040054A4 RID: 21668
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054A5 RID: 21669
		public const int AJCHIGGPBAHFieldNumber = 10;

		// Token: 0x040054A6 RID: 21670
		private uint aJCHIGGPBAH_;

		// Token: 0x040054A7 RID: 21671
		public const int MonsterIdFieldNumber = 11;

		// Token: 0x040054A8 RID: 21672
		private uint monsterId_;
	}
}
